package com.health.platform.provider.demo.service;

import com.health.platform.common.restful.AppResponse;
import com.health.platform.provider.demo.dao.DemoMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>样例Service</p>
 * <p>创建日期：2021-02-08</p>
 *
 * @author zhou-qf
 */
@Service
public class DemoService {

    @Resource
    private DemoMapper demoMapper;

    public AppResponse demo(){
        return AppResponse.success("查询成功", demoMapper.demo());
    }

    public AppResponse demo1(){
        return AppResponse.success("查询成功", demoMapper.demo1());
    }
}
